text/template/parse.Tree.errorf (method)

21 uses

	text/template/parse (current package)
		parse.go#L173: func (t *Tree) errorf(format string, args ...any) {
		parse.go#L181: 	t.errorf("%s", err)
		parse.go#L212: 		t.errorf("%s%s", token, extra)
		parse.go#L214: 	t.errorf("unexpected %s in %s", token, context)
		parse.go#L278: 		t.errorf("template: multiple definition of template %q", t.Name)
		parse.go#L330: 			t.errorf("unexpected %s", n)
		parse.go#L352: 		t.errorf("unexpected %s in %s", end, context)
		parse.go#L373: 	t.errorf("unexpected EOF")
		parse.go#L444: 		t.errorf("{{break}} outside {{range}}")
		parse.go#L459: 		t.errorf("{{continue}} outside {{range}}")
		parse.go#L496: 					t.errorf("range can only initialize variables")
		parse.go#L499: 			t.errorf("too many declarations in %s", context)
		parse.go#L525: 		t.errorf("missing value for %s", context)
		parse.go#L532: 			t.errorf("non executable command in pipeline stage %d", i+2)
		parse.go#L572: 				t.errorf("expected end; found %s", next)
		parse.go#L658: 		t.errorf("unexpected %s in %s", end, context)
		parse.go#L726: 		t.errorf("empty command")
		parse.go#L759: 			t.errorf("unexpected . after term %q", node.String())
		parse.go#L783: 			t.errorf("function %q not defined", token.val)
		parse.go#L804: 			t.errorf("max expression depth exceeded")
		parse.go#L847: 	t.errorf("undefined variable %q", v.Ident[0])